package com.clss.emergencycall

import android.content.Context
import androidx.multidex.MultiDexApplication
import com.amap.api.location.AMapLocation

class EmergencyApplication : MultiDexApplication() {
    companion object {
        private var sMapLocation: AMapLocation? = null
        private var sAppContext: Context? = null
        private var isVideoOnLine = false

        fun getAppContext(): Context? {
            return sAppContext
        }

        fun getMapLocation(): AMapLocation? {
            return sMapLocation
        }

        fun setMapLocation(mapLocation: AMapLocation) {
            sMapLocation = mapLocation
        }

        fun setIsVideoOnLine(videoState : Boolean){
            isVideoOnLine = videoState
        }

        fun isIsVideoOnLine() : Boolean{
            return isVideoOnLine
        }
    }


}